package view.views.dialogButtonViews;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JPanel;

/**
 * @author Alexander Müller
 * 
 */
public class CancelButtonPanel extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private final JButton cancel;

	public CancelButtonPanel() {

		this.setLayout(new FlowLayout(FlowLayout.RIGHT));

		cancel = new JButton("Schließen");

		this.add(cancel);
	}

	public JButton getCancelButton() {
		return cancel;
	}

}
